package goods;

public class GoodAttributes {
    private String name;
    private double price;
    private int id;
    private String type;

    public GoodAttributes(String name, double price, int id, String type) {
        super();
        this.name = name;
        this.price = price;
        this.id = id;
        this.type = type;
    }

    @Override
    public String toString() {
        return id + ":" + name + " " + price + " " + type;
    }

    public String getName() {
        return name;
    }

    public double getPrice() {
        return price;
    }

    public int getId() {
        return id;
    }

    public String getType() {
        return type;
    }


}
